package com.trace.meat.entityModel;

public class ChainModel {

    Integer eid;

    String ename;

    String etype;

    Object time;

    //Integer gtype;

    //AnimalModel animalModel;

    //ProductModel productModel;

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Object getTime() {
        return time;
    }

    public void setTime(Object time) {
        this.time = time;
    }

    public String getEtype() {
        return etype;
    }

    public void setEtype(String etype) {
        this.etype = etype;
    }

    @Override
    public String toString() {
        return "ChainModel{" +
                "eid=" + eid +
                ", ename='" + ename + '\'' +
                ", etype='" + etype + '\'' +
                ", time=" + time +
                '}';
    }

    public ChainModel(ChainModel chainModel) {
        this.eid = chainModel.getEid();
        this.ename = chainModel.getEname();
        this.etype = chainModel.getEtype();
        this.time = chainModel.getTime();
    }
    public ChainModel() {
        this.eid = null;
        this.ename = null;
        this.etype = null;
        this.time = null;
    }
}
